/////////////////////////////////////////////////////////////////////////////
// Name:        rootdirpage.h
// Purpose:     
// Author:      yospaly
// Modified by: 
// Created:     05/01/2010 09:17:03
// RCS-ID:      
// Copyright:   Copyright (C) 2008, yospaly
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _ROOTDIRPAGE_H_
#define _ROOTDIRPAGE_H_


/*!
 * Includes
 */

////@begin includes
#include "wx/wizard.h"
#include "wx/statline.h"
#include "wx/filepicker.h"
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
class RootdirPage;
class wxDirPickerCtrl;
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_ROOTDIR_WIZARDPAGE 10034
#define ID_DIRPICKERCTRL 10047
////@end control identifiers


/*!
 * RootdirPage class declaration
 */

class RootdirPage: public wxWizardPageSimple
{    
    DECLARE_DYNAMIC_CLASS( RootdirPage )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    RootdirPage();

    RootdirPage( wxWizard* parent );

    /// Creation
    bool Create( wxWizard* parent );

    /// Destructor
    ~RootdirPage();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin RootdirPage event handler declarations

    /// wxEVT_WIZARD_PAGE_CHANGING event handler for ID_ROOTDIR_WIZARDPAGE
    void OnRootdirWizardpagePageChanging( wxWizardEvent& event );

////@end RootdirPage event handler declarations

////@begin RootdirPage member function declarations

    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end RootdirPage member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin RootdirPage member variables
    wxDirPickerCtrl* p_rootdir_ctrl;
////@end RootdirPage member variables
};

#endif
    // _ROOTDIRPAGE_H_
